#ifndef INTER_H
#define INTER_H
#include"form.h"
#include <QWidget>
#include"chessplay2.h"
#include<QPainter>
namespace Ui {
class inter;
}

class inter : public QWidget
{
    Q_OBJECT

public:
    explicit inter(QWidget *parent = nullptr);
    ~inter();
private slots:
    void paintEvent(QPaintEvent*evnet);
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();

private:
    Ui::inter *ui;
    Form *f=new Form;
    chessplay2*c= new chessplay2;


};

#endif // INTER_H
